package com.jk.bgmainconsumer.service;

import com.jk.bgmainconsumer.entity.AdministratorEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;


@FeignClient("BGLOGPROVIDER")
@Component
public interface AdminConsummerService {

    @RequestMapping("administrator/findAdministrator")
    List<AdministratorEntity> findAdministrator(@SpringQueryMap AdministratorEntity administratorEntity);
}
